﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Domain.DTO
{
    public class AdditionalExpenditureDTO
    {
        public string? TheInvoiceNumber { get; set; }
        /// <summary>
        /// 新增支出Id
        /// </summary>
        public int NewExpenditureId { get; set; }

        /// <summary>
        /// 支出类型
        /// </summary>
        public int? ExpenditureTypeId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 支出主题
        /// </summary>
        public string? SupportingTopic { get; set; }

        /// <summary>
        /// 支出日期
        /// </summary>
        public DateTime? SupportDate { get; set; }

        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? PaymentAmount { get; set; }

        /// <summary>
        /// 收款方
        /// </summary>
        public string? Payee { get; set; }

        /// <summary>
        /// 账号名称
        /// </summary>
        public string? AccountName { get; set; }

        /// <summary>
        /// 网点名称
        /// </summary>
        public string? NetworkName { get; set; }

        /// <summary>
        /// 开户银行
        /// </summary>
        public string? DepositBank { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        public string? BankAccount { get; set; }

        /// <summary>
        /// 采购订单主题
        /// </summary>
        public string? PurchaseOrderSubject { get; set; }

        /// <summary>
        /// 入库状态
        /// </summary>
        public string? StorageStatus { get; set; }

        /// <summary>
        /// 已付款金额
        /// </summary>
        public string? AmountPaid { get; set; }

        /// <summary>
        /// 采购日期
        /// </summary>
        public DateTime? PurchaseDate { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public decimal? AggregateAmount { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? Attachment { get; set; }
        [SugarColumn(Length = 50)]
        public string? ExpenditureTypeName { get; set; }
        public bool IsDeleted { get; set; } = false;
    }
}
